<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>js</title>
	<link rel="stylesheet" href="1366.css" id='cssid'>	
	<script>
		//主要是针对宽做项目
		//根据分辨率加载，适合分辨率的样式
		sw=screen.width;
		cssidobj=document.getElementById('cssid');
		switch(sw){
			case 1024:
				cssidobj.href='1024.css';
				break;
			case 1280:
				cssidobj.href='1280.css';
				break;
			case 1366:
				cssidobj.href='1366.css';
				break;
		}		
	</script>
</head>
<body>
	<div class="main">
		<h1>aaaaaaaaaaaaaaaaaaa</h1>
		<h1>aaaaaaaaaaaaaaaaaaa</h1>
		<h1>aaaaaaaaaaaaaaaaaaa</h1>
		<h1>aaaaaaaaaaaaaaaaaaa</h1>
	</div>
	

</body>
</html>